<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta content="" name="description" />
    <meta content="webthemez" name="author" />
    <title>人人点餐</title>
    <!-- Bootstrap Styles-->
    <link href="__PUBLIC__static/admin/assets/css/bootstrap.css" rel="stylesheet" />
    <!-- FontAwesome Styles-->
    <link href="__PUBLIC__static/admin/assets/css/font-awesome.css" rel="stylesheet" />
    <!-- Morris Chart Styles-->

    <!-- Custom Styles-->
    <link href="__PUBLIC__static/admin/assets/css/custom-styles.css" rel="stylesheet" />
    <!-- Google Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <!-- TABLE STYLES-->
    <link href="__PUBLIC__static/admin/assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />
</head>
<body>
<div id="wrapper">
    {include file="layout/top" / }
    <!--/. NAV TOP  -->
    {include file="layout/left" / }
    <!-- /. NAV SIDE  -->
    <div id="page-wrapper" >
        <div class="header">
            <h1 class="page-header">
                商圈 <small>列 表</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="{:url('admin/ht/index')}">Home</a></li>
                <li>商圈</li>

            </ol>

        </div>

        <div id="page-inner">


            <!-- /. ROW  -->
            <div class="row">
                <div class="col-md-12">
                    <!--   Kitchen Sink -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <a href="{:url('admin/circle/create')}">添加 商圈 </a>
                        </div>


                        <div class="row">


                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-xs-12">
                                    <div class="panel panel-default">

                                        <div class="panel-body">
                                            <form action="{:url('admin/circle/search')}" method="post" class="form-inline">
                                                <div class="form-group">

                                                    <input type="text" class="form-control" name="like" id="exampleInputName2" placeholder="商圈名称">
                                                </div>

                                                <button type="submit" class="btn btn-default">搜索</button>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover">
                                    <thead>
                                    <tr>
                                        <th style=" text-align: center;line-height:20px">商圈省份</th>
                                        <th style=" text-align: center;line-height:20px">商圈城市</th>
                                        <th style=" text-align: center;line-height:20px">商圈名称</th>
                                        <th style=" text-align: center;line-height:20px">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>

                                    {volist name="data" id="data"}
                                    <tr class="odd gradeX">
                                        <td style=" text-align: center;line-height:100px">{$data.circle_province}</td>
                                        <td style=" text-align: center;line-height:100px">{$data.circle_city}</td>
                                        <td style=" text-align: center;line-height:100px">{$data.circle_name}</td>
                                        <td style=" text-align: center;line-height:100px" class="center">
                                            <a class="btn btn-info btn-sm" href="{:url('admin/circle/edit',array('id' => $data.id))}">管理商圈</a> |
                                            <a class="btn btn-danger btn-sm" href="{:url('admin/circle/delete',array('id' => $data.id))}">移除商圈</a></td>
                                    </tr>
                                    {/volist}
                                    </tbody>


                                </table>
                            </div>
                        </div>
                    </div>
                    <!-- End  Kitchen Sink -->
                </div>

            </div>


        </div>
        <footer><p>Copyright &copy; 2016.Company name All rights reserved.<a target="_blank" href="http://www.cssmoban.com/">&#x7F51;&#x9875;&#x6A21;&#x677F;</a></p></footer>
    </div>
    <!-- /. PAGE INNER  -->
</div>
<!-- /. PAGE WRAPPER  -->
<!-- /. WRAPPER  -->
<!-- JS Scripts-->
<!-- jQuery Js -->
<script src="__PUBLIC__static/admin/assets/js/jquery-1.10.2.js"></script>
<!-- Bootstrap Js -->
<script src="__PUBLIC__static/admin/assets/js/bootstrap.min.js"></script>
<!-- Metis Menu Js -->
<script src="__PUBLIC__static/admin/assets/js/jquery.metisMenu.js"></script>
<!-- DATA TABLE SCRIPTS -->
<script src="__PUBLIC__static/admin/assets/js/dataTables/jquery.dataTables.js"></script>
<script src="__PUBLIC__static/admin/assets/js/dataTables/dataTables.bootstrap.js"></script>
<script>
    $(document).ready(function () {
        $('#dataTables-example').dataTable();
    });
</script>
<!-- Custom Js -->
<script src="__PUBLIC__static/admin/assets/js/custom-scripts.js"></script>


</body>
</html>
